﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CourseSystem.Core.Entities.QuestionAnswerInfo>" %>
<% using (Ajax.BeginForm("JudgeAnsEditUc", new { Model.Id }, new AjaxOptions { HttpMethod = "Post", UpdateTargetId = "listDiv", }))
   {%>
<% Html.RenderPartial("HighLightMsgUc"); %>
<fieldset>
    <div class="editor-label">
        该命题是否正确
    </div>
    <div class="editor-field">
        <%: Html.CheckBox("isTrue",string.IsNullOrEmpty(Model.Answer))%>
        <%: Html.ValidationMessageFor(model => model.Answer) %>
    </div>
    <p>
        <input type="submit" value="保存" />
    </p>
</fieldset>
<% } %>